package com.ytjj.qmyx.mall.mapper;

import com.ytjj.qmyx.mall.model.LiveProduct;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description 直播间商品
 * @ClassName LiveProductDao
 *
 *
 * @Version 1.0
 **/
public interface LiveProductDao {

    /**
     * 获取直播商品列表
     *
     * @return
     */
    List<LiveProduct> getLiveProducts();

    /**
     * 根据直播间ID获取商品列表
     *
     * @param liveId 直播间ID
     * @return
     */
    List<LiveProduct> getLiveProductListByLiveId(@Param("liveId") Integer liveId);


    LiveProduct getExplainProduct(@Param("liveId") Integer liveId);
}
